package cn.tmall.system.impl;

import cn.tmall.IAccountService;
import cn.tmall.commons.cache.RedisClient;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * AccountService
 *
 * @author yang
 * @version 2018/9/12 0012
 */
@Service
public class AccountServiceImpl implements IAccountService {
    @Autowired
    private RedisClient redisClient;
    @Override
    public void logout(String token) {
        redisClient.del(token);
    }

}
